<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
    <script>
        var a=20;
        var b=40;
        var c=60;
        if (a<b){
            a=b;
        }
        if (a<c){
            a=c;
        }
        console.log(a);
    </script>
</head>
<body>

</body>
</html>